<template>
  <div class="video-player">
   
    <video 
      controls 
      :src="videoUrl"
      style="max-width: 100%; max-height: 100%;"
    ></video>
  </div>
</template>

<script lang="ts" setup>
defineProps({
  videoUrl: String
});
</script>

<style scoped lang="less">
.video-player {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
}
</style>
